using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using SJNet;
using SJVars;
using Spacejock;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using yW5Lib;
using yWriter6.My.Resources;

namespace yWriter6
{
	[DesignerGenerated]
	internal class frmProjectSettings : Form
	{
		private IContainer components;

		public ToolTip ToolTip1;

		[CompilerGenerated]
		[AccessedThroughProperty("txtTitle")]
		private TextBox _txtTitle;

		[CompilerGenerated]
		[AccessedThroughProperty("txtDesc")]
		private RichTextBox _txtDesc;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_5")]
		private Label __Label1_5;

		[CompilerGenerated]
		[AccessedThroughProperty("Label6")]
		private Label _Label6;

		[CompilerGenerated]
		[AccessedThroughProperty("txtBio")]
		private RichTextBox _txtBio;

		[CompilerGenerated]
		[AccessedThroughProperty("txtAuthor")]
		private TextBox _txtAuthor;

		[CompilerGenerated]
		[AccessedThroughProperty("Label5")]
		private Label _Label5;

		[CompilerGenerated]
		[AccessedThroughProperty("Label4")]
		private Label _Label4;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdCancel")]
		private Button _cmdCancel;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdSave")]
		private Button _cmdSave;

		[CompilerGenerated]
		[AccessedThroughProperty("txtField0")]
		private TextBox _txtField0;

		[CompilerGenerated]
		[AccessedThroughProperty("txtField1")]
		private TextBox _txtField1;

		[CompilerGenerated]
		[AccessedThroughProperty("txtField2")]
		private TextBox _txtField2;

		[CompilerGenerated]
		[AccessedThroughProperty("txtField3")]
		private TextBox _txtField3;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdDefault")]
		private Button _cmdDefault;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_4")]
		private Label __Label1_4;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_1")]
		private Label __Label1_1;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_2")]
		private Label __Label1_2;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_3")]
		private Label __Label1_3;

		[CompilerGenerated]
		[AccessedThroughProperty("LblInstr")]
		private Label _LblInstr;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineStart4")]
		private Label _lblDeadlineStart4;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineEnd0")]
		private Label _lblDeadlineEnd0;

		[CompilerGenerated]
		[AccessedThroughProperty("lblFinish0")]
		private Label _lblFinish0;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineEnd1")]
		private Label _lblDeadlineEnd1;

		[CompilerGenerated]
		[AccessedThroughProperty("lblFinish1")]
		private Label _lblFinish1;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineEnd2")]
		private Label _lblDeadlineEnd2;

		[CompilerGenerated]
		[AccessedThroughProperty("lblFinish2")]
		private Label _lblFinish2;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineEnd3")]
		private Label _lblDeadlineEnd3;

		[CompilerGenerated]
		[AccessedThroughProperty("lblFinish3")]
		private Label _lblFinish3;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineEnd4")]
		private Label _lblDeadlineEnd4;

		[CompilerGenerated]
		[AccessedThroughProperty("lblFinish4")]
		private Label _lblFinish4;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineStart0")]
		private Label _lblDeadlineStart0;

		[CompilerGenerated]
		[AccessedThroughProperty("_Label1_0")]
		private Label __Label1_0;

		[CompilerGenerated]
		[AccessedThroughProperty("Label2")]
		private Label _Label2;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineStart1")]
		private Label _lblDeadlineStart1;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineStart2")]
		private Label _lblDeadlineStart2;

		[CompilerGenerated]
		[AccessedThroughProperty("lblDeadlineStart3")]
		private Label _lblDeadlineStart3;

		[CompilerGenerated]
		[AccessedThroughProperty("TabControl1")]
		private TabControl _TabControl1;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage1")]
		private TabPage _TabPage1;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage2")]
		private TabPage _TabPage2;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage3")]
		private TabPage _TabPage3;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage4")]
		private TabPage _TabPage4;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage5")]
		private TabPage _TabPage5;

		[CompilerGenerated]
		[AccessedThroughProperty("chkOverWrite")]
		private CheckBox _chkOverWrite;

		[CompilerGenerated]
		[AccessedThroughProperty("tabLatex")]
		private TabPage _tabLatex;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdDefaultLatex")]
		private Button _cmdDefaultLatex;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdEditHeader")]
		private Button _cmdEditHeader;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdLatex")]
		private Button _cmdLatex;

		[CompilerGenerated]
		[AccessedThroughProperty("txtLatexHeader")]
		private TextBox _txtLatexHeader;

		[CompilerGenerated]
		[AccessedThroughProperty("Label1")]
		private Label _Label1;

		[CompilerGenerated]
		[AccessedThroughProperty("chkLatexSingleQuotes")]
		private CheckBox _chkLatexSingleQuotes;

		[CompilerGenerated]
		[AccessedThroughProperty("chkLatexSuppressTitles")]
		private CheckBox _chkLatexSuppressTitles;

		[CompilerGenerated]
		[AccessedThroughProperty("Button1")]
		private Button _Button1;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdSelectImage")]
		private Button _cmdSelectImage;

		[CompilerGenerated]
		[AccessedThroughProperty("Panel1")]
		private Panel _Panel1;

		[CompilerGenerated]
		[AccessedThroughProperty("Label3")]
		private Label _Label3;

		[CompilerGenerated]
		[AccessedThroughProperty("Label7")]
		private Label _Label7;

		[CompilerGenerated]
		[AccessedThroughProperty("cmbLatexSceneDivider")]
		private ComboBox _cmbLatexSceneDivider;

		[CompilerGenerated]
		[AccessedThroughProperty("GroupBoxPW")]
		private GroupBox _GroupBoxPW;

		[CompilerGenerated]
		[AccessedThroughProperty("Label11")]
		private Label _Label11;

		[CompilerGenerated]
		[AccessedThroughProperty("Label10")]
		private Label _Label10;

		[CompilerGenerated]
		[AccessedThroughProperty("Label9")]
		private Label _Label9;

		[CompilerGenerated]
		[AccessedThroughProperty("Label8")]
		private Label _Label8;

		[CompilerGenerated]
		[AccessedThroughProperty("chkSetPassword")]
		private CheckBox _chkSetPassword;

		[CompilerGenerated]
		[AccessedThroughProperty("txtPassword")]
		private TextBox _txtPassword;

		[CompilerGenerated]
		[AccessedThroughProperty("lblPasswordCopy")]
		private Label _lblPasswordCopy;

		[CompilerGenerated]
		[AccessedThroughProperty("txtPasswordCopy")]
		private TextBox _txtPasswordCopy;

		[CompilerGenerated]
		[AccessedThroughProperty("Label12")]
		private Label _Label12;

		[CompilerGenerated]
		[AccessedThroughProperty("pnlPassword")]
		private Panel _pnlPassword;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPage6")]
		private TabPage _TabPage6;

		[CompilerGenerated]
		[AccessedThroughProperty("Label13")]
		private Label _Label13;

		[CompilerGenerated]
		[AccessedThroughProperty("cmbHtmlSceneDivider")]
		private ComboBox _cmbHtmlSceneDivider;

		[CompilerGenerated]
		[AccessedThroughProperty("Label14")]
		private Label _Label14;

		[CompilerGenerated]
		[AccessedThroughProperty("cmbHTMLEncoding")]
		private ComboBox _cmbHTMLEncoding;

		[CompilerGenerated]
		[AccessedThroughProperty("chkHTMLUnicode")]
		private CheckBox _chkHTMLUnicode;

		[CompilerGenerated]
		[AccessedThroughProperty("chkCollab")]
		private CheckBox _chkCollab;

		[CompilerGenerated]
		[AccessedThroughProperty("TabPageCollab")]
		private TabPage _TabPageCollab;

		[CompilerGenerated]
		[AccessedThroughProperty("txtCollabUser")]
		private TextBox _txtCollabUser;

		[CompilerGenerated]
		[AccessedThroughProperty("lblCollabUsername")]
		private Label _lblCollabUsername;

		[CompilerGenerated]
		[AccessedThroughProperty("txtCollabOffset")]
		private TextBox _txtCollabOffset;

		[CompilerGenerated]
		[AccessedThroughProperty("lblCollabOffset")]
		private Label _lblCollabOffset;

		[CompilerGenerated]
		[AccessedThroughProperty("txtCollabFolder")]
		private TextBox _txtCollabFolder;

		[CompilerGenerated]
		[AccessedThroughProperty("Label15")]
		private Label _Label15;

		[CompilerGenerated]
		[AccessedThroughProperty("Label16")]
		private Label _Label16;

		[CompilerGenerated]
		[AccessedThroughProperty("Button3")]
		private Button _Button3;

		[CompilerGenerated]
		[AccessedThroughProperty("Button2")]
		private Button _Button2;

		private clsProject cProject;

		private Label[] lblFinish;

		private Label[] lblDeadlineEnd;

		private Label[] lblDeadlineStart;

		private TextBox[] txtField;

		[field: AccessedThroughProperty("txtTitle")]
		public virtual TextBox txtTitle
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtDesc")]
		public virtual RichTextBox txtDesc
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("_Label1_5")]
		public virtual Label _Label1_5
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label Label6
		{
			[CompilerGenerated]
			get
			{
				return _Label6;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = Label6_Click;
				Label label = _Label6;
				if (label != null)
				{
					label.Click -= value2;
				}
				_Label6 = value;
				label = _Label6;
				if (label != null)
				{
					label.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("txtBio")]
		public virtual RichTextBox txtBio
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtAuthor")]
		public virtual TextBox txtAuthor
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label5")]
		public virtual Label Label5
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label4")]
		public virtual Label Label4
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Button cmdCancel
		{
			[CompilerGenerated]
			get
			{
				return _cmdCancel;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdCancel_Click;
				Button cmdCancel = _cmdCancel;
				if (cmdCancel != null)
				{
					cmdCancel.Click -= value2;
				}
				_cmdCancel = value;
				cmdCancel = _cmdCancel;
				if (cmdCancel != null)
				{
					cmdCancel.Click += value2;
				}
			}
		}

		public virtual Button cmdSave
		{
			[CompilerGenerated]
			get
			{
				return _cmdSave;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdSave_Click;
				Button cmdSave = _cmdSave;
				if (cmdSave != null)
				{
					cmdSave.Click -= value2;
				}
				_cmdSave = value;
				cmdSave = _cmdSave;
				if (cmdSave != null)
				{
					cmdSave.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("txtField0")]
		public virtual TextBox txtField0
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtField1")]
		public virtual TextBox txtField1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtField2")]
		public virtual TextBox txtField2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtField3")]
		public virtual TextBox txtField3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Button cmdDefault
		{
			[CompilerGenerated]
			get
			{
				return _cmdDefault;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdDefault_Click;
				Button cmdDefault = _cmdDefault;
				if (cmdDefault != null)
				{
					cmdDefault.Click -= value2;
				}
				_cmdDefault = value;
				cmdDefault = _cmdDefault;
				if (cmdDefault != null)
				{
					cmdDefault.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("_Label1_4")]
		public virtual Label _Label1_4
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("_Label1_1")]
		public virtual Label _Label1_1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("_Label1_2")]
		public virtual Label _Label1_2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("_Label1_3")]
		public virtual Label _Label1_3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("LblInstr")]
		public virtual Label LblInstr
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineStart4
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineStart4;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadlineStart_Click;
				Label lblDeadlineStart = _lblDeadlineStart4;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click -= value2;
				}
				_lblDeadlineStart4 = value;
				lblDeadlineStart = _lblDeadlineStart4;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click += value2;
				}
			}
		}

		public virtual Label lblDeadlineEnd0
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineEnd0;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadline_Click;
				Label lblDeadlineEnd = _lblDeadlineEnd0;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click -= value2;
				}
				_lblDeadlineEnd0 = value;
				lblDeadlineEnd = _lblDeadlineEnd0;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblFinish0")]
		public virtual Label lblFinish0
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineEnd1
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineEnd1;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadline_Click;
				Label lblDeadlineEnd = _lblDeadlineEnd1;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click -= value2;
				}
				_lblDeadlineEnd1 = value;
				lblDeadlineEnd = _lblDeadlineEnd1;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblFinish1")]
		public virtual Label lblFinish1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineEnd2
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineEnd2;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadline_Click;
				Label lblDeadlineEnd = _lblDeadlineEnd2;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click -= value2;
				}
				_lblDeadlineEnd2 = value;
				lblDeadlineEnd = _lblDeadlineEnd2;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblFinish2")]
		public virtual Label lblFinish2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineEnd3
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineEnd3;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadline_Click;
				Label lblDeadlineEnd = _lblDeadlineEnd3;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click -= value2;
				}
				_lblDeadlineEnd3 = value;
				lblDeadlineEnd = _lblDeadlineEnd3;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblFinish3")]
		public virtual Label lblFinish3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineEnd4
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineEnd4;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadline_Click;
				Label lblDeadlineEnd = _lblDeadlineEnd4;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click -= value2;
				}
				_lblDeadlineEnd4 = value;
				lblDeadlineEnd = _lblDeadlineEnd4;
				if (lblDeadlineEnd != null)
				{
					lblDeadlineEnd.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblFinish4")]
		public virtual Label lblFinish4
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineStart0
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineStart0;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadlineStart_Click;
				Label lblDeadlineStart = _lblDeadlineStart0;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click -= value2;
				}
				_lblDeadlineStart0 = value;
				lblDeadlineStart = _lblDeadlineStart0;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("_Label1_0")]
		public virtual Label _Label1_0
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label2")]
		public virtual Label Label2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblDeadlineStart1
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineStart1;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadlineStart_Click;
				Label lblDeadlineStart = _lblDeadlineStart1;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click -= value2;
				}
				_lblDeadlineStart1 = value;
				lblDeadlineStart = _lblDeadlineStart1;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click += value2;
				}
			}
		}

		public virtual Label lblDeadlineStart2
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineStart2;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadlineStart_Click;
				Label lblDeadlineStart = _lblDeadlineStart2;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click -= value2;
				}
				_lblDeadlineStart2 = value;
				lblDeadlineStart = _lblDeadlineStart2;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click += value2;
				}
			}
		}

		public virtual Label lblDeadlineStart3
		{
			[CompilerGenerated]
			get
			{
				return _lblDeadlineStart3;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblDeadlineStart_Click;
				Label lblDeadlineStart = _lblDeadlineStart3;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click -= value2;
				}
				_lblDeadlineStart3 = value;
				lblDeadlineStart = _lblDeadlineStart3;
				if (lblDeadlineStart != null)
				{
					lblDeadlineStart.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("TabControl1")]
		internal virtual TabControl TabControl1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage1")]
		internal virtual TabPage TabPage1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage2")]
		internal virtual TabPage TabPage2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage3")]
		internal virtual TabPage TabPage3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage4")]
		internal virtual TabPage TabPage4
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage5")]
		internal virtual TabPage TabPage5
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual CheckBox chkOverWrite
		{
			[CompilerGenerated]
			get
			{
				return _chkOverWrite;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = chkOverWrite_CheckedChanged;
				CheckBox chkOverWrite = _chkOverWrite;
				if (chkOverWrite != null)
				{
					chkOverWrite.CheckedChanged -= value2;
				}
				_chkOverWrite = value;
				chkOverWrite = _chkOverWrite;
				if (chkOverWrite != null)
				{
					chkOverWrite.CheckedChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("tabLatex")]
		internal virtual TabPage tabLatex
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual Button cmdDefaultLatex
		{
			[CompilerGenerated]
			get
			{
				return _cmdDefaultLatex;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = Button2_Click;
				Button cmdDefaultLatex = _cmdDefaultLatex;
				if (cmdDefaultLatex != null)
				{
					cmdDefaultLatex.Click -= value2;
				}
				_cmdDefaultLatex = value;
				cmdDefaultLatex = _cmdDefaultLatex;
				if (cmdDefaultLatex != null)
				{
					cmdDefaultLatex.Click += value2;
				}
			}
		}

		internal virtual Button cmdEditHeader
		{
			[CompilerGenerated]
			get
			{
				return _cmdEditHeader;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdLoadLayout_Click;
				Button cmdEditHeader = _cmdEditHeader;
				if (cmdEditHeader != null)
				{
					cmdEditHeader.Click -= value2;
				}
				_cmdEditHeader = value;
				cmdEditHeader = _cmdEditHeader;
				if (cmdEditHeader != null)
				{
					cmdEditHeader.Click += value2;
				}
			}
		}

		internal virtual Button cmdLatex
		{
			[CompilerGenerated]
			get
			{
				return _cmdLatex;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdLatex_Click;
				Button cmdLatex = _cmdLatex;
				if (cmdLatex != null)
				{
					cmdLatex.Click -= value2;
				}
				_cmdLatex = value;
				cmdLatex = _cmdLatex;
				if (cmdLatex != null)
				{
					cmdLatex.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("txtLatexHeader")]
		internal virtual TextBox txtLatexHeader
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label1")]
		internal virtual Label Label1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("chkLatexSingleQuotes")]
		internal virtual CheckBox chkLatexSingleQuotes
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("chkLatexSuppressTitles")]
		internal virtual CheckBox chkLatexSuppressTitles
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual Button Button1
		{
			[CompilerGenerated]
			get
			{
				return _Button1;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = Button1_Click;
				Button button = _Button1;
				if (button != null)
				{
					button.Click -= value2;
				}
				_Button1 = value;
				button = _Button1;
				if (button != null)
				{
					button.Click += value2;
				}
			}
		}

		public virtual Button cmdSelectImage
		{
			[CompilerGenerated]
			get
			{
				return _cmdSelectImage;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdSelectImage_Click;
				Button cmdSelectImage = _cmdSelectImage;
				if (cmdSelectImage != null)
				{
					cmdSelectImage.Click -= value2;
				}
				_cmdSelectImage = value;
				cmdSelectImage = _cmdSelectImage;
				if (cmdSelectImage != null)
				{
					cmdSelectImage.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("Panel1")]
		internal virtual Panel Panel1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label3")]
		internal virtual Label Label3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label7")]
		internal virtual Label Label7
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual ComboBox cmbLatexSceneDivider
		{
			[CompilerGenerated]
			get
			{
				return _cmbLatexSceneDivider;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmbSceneDivider_SelectedIndexChanged;
				ComboBox cmbLatexSceneDivider = _cmbLatexSceneDivider;
				if (cmbLatexSceneDivider != null)
				{
					cmbLatexSceneDivider.SelectedIndexChanged -= value2;
				}
				_cmbLatexSceneDivider = value;
				cmbLatexSceneDivider = _cmbLatexSceneDivider;
				if (cmbLatexSceneDivider != null)
				{
					cmbLatexSceneDivider.SelectedIndexChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("GroupBoxPW")]
		internal virtual GroupBox GroupBoxPW
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label11")]
		internal virtual Label Label11
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label10")]
		internal virtual Label Label10
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label9")]
		internal virtual Label Label9
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label8")]
		internal virtual Label Label8
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual CheckBox chkSetPassword
		{
			[CompilerGenerated]
			get
			{
				return _chkSetPassword;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = chkSetPassword_CheckedChanged;
				CheckBox chkSetPassword = _chkSetPassword;
				if (chkSetPassword != null)
				{
					chkSetPassword.CheckedChanged -= value2;
				}
				_chkSetPassword = value;
				chkSetPassword = _chkSetPassword;
				if (chkSetPassword != null)
				{
					chkSetPassword.CheckedChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("txtPassword")]
		internal virtual TextBox txtPassword
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblPasswordCopy")]
		internal virtual Label lblPasswordCopy
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtPasswordCopy")]
		internal virtual TextBox txtPasswordCopy
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label12")]
		internal virtual Label Label12
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("pnlPassword")]
		internal virtual Panel pnlPassword
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("TabPage6")]
		internal virtual TabPage TabPage6
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label13")]
		internal virtual Label Label13
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("cmbHtmlSceneDivider")]
		internal virtual ComboBox cmbHtmlSceneDivider
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label14")]
		internal virtual Label Label14
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("cmbHTMLEncoding")]
		internal virtual ComboBox cmbHTMLEncoding
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("chkHTMLUnicode")]
		internal virtual CheckBox chkHTMLUnicode
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual CheckBox chkCollab
		{
			[CompilerGenerated]
			get
			{
				return _chkCollab;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = chkCollab_CheckedChanged;
				CheckBox chkCollab = _chkCollab;
				if (chkCollab != null)
				{
					chkCollab.CheckedChanged -= value2;
				}
				_chkCollab = value;
				chkCollab = _chkCollab;
				if (chkCollab != null)
				{
					chkCollab.CheckedChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("TabPageCollab")]
		internal virtual TabPage TabPageCollab
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual TextBox txtCollabUser
		{
			[CompilerGenerated]
			get
			{
				return _txtCollabUser;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = txtCollabUser_TextChanged;
				TextBox txtCollabUser = _txtCollabUser;
				if (txtCollabUser != null)
				{
					txtCollabUser.TextChanged -= value2;
				}
				_txtCollabUser = value;
				txtCollabUser = _txtCollabUser;
				if (txtCollabUser != null)
				{
					txtCollabUser.TextChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("lblCollabUsername")]
		public virtual Label lblCollabUsername
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtCollabOffset")]
		public virtual TextBox txtCollabOffset
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblCollabOffset")]
		public virtual Label lblCollabOffset
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("txtCollabFolder")]
		public virtual TextBox txtCollabFolder
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label15")]
		public virtual Label Label15
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label16")]
		internal virtual Label Label16
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		internal virtual Button Button3
		{
			[CompilerGenerated]
			get
			{
				return _Button3;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = Button3_Click;
				Button button = _Button3;
				if (button != null)
				{
					button.Click -= value2;
				}
				_Button3 = value;
				button = _Button3;
				if (button != null)
				{
					button.Click += value2;
				}
			}
		}

		internal virtual Button Button2
		{
			[CompilerGenerated]
			get
			{
				return _Button2;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = Button2_Click_1;
				Button button = _Button2;
				if (button != null)
				{
					button.Click -= value2;
				}
				_Button2 = value;
				button = _Button2;
				if (button != null)
				{
					button.Click += value2;
				}
			}
		}

		[DebuggerNonUserCode]
		protected override void Dispose(bool Disposing)
		{
			if (Disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(Disposing);
		}

		[System.Diagnostics.DebuggerStepThrough]
		private void InitializeComponent()
		{
			components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(yWriter6.frmProjectSettings));
			ToolTip1 = new System.Windows.Forms.ToolTip(components);
			lblDeadlineStart4 = new System.Windows.Forms.Label();
			lblDeadlineEnd0 = new System.Windows.Forms.Label();
			lblDeadlineEnd1 = new System.Windows.Forms.Label();
			lblDeadlineEnd2 = new System.Windows.Forms.Label();
			lblDeadlineEnd3 = new System.Windows.Forms.Label();
			lblDeadlineEnd4 = new System.Windows.Forms.Label();
			lblDeadlineStart0 = new System.Windows.Forms.Label();
			lblDeadlineStart1 = new System.Windows.Forms.Label();
			lblDeadlineStart2 = new System.Windows.Forms.Label();
			lblDeadlineStart3 = new System.Windows.Forms.Label();
			chkOverWrite = new System.Windows.Forms.CheckBox();
			cmdLatex = new System.Windows.Forms.Button();
			cmdSelectImage = new System.Windows.Forms.Button();
			chkCollab = new System.Windows.Forms.CheckBox();
			txtCollabUser = new System.Windows.Forms.TextBox();
			txtCollabOffset = new System.Windows.Forms.TextBox();
			txtCollabFolder = new System.Windows.Forms.TextBox();
			txtTitle = new System.Windows.Forms.TextBox();
			txtDesc = new System.Windows.Forms.RichTextBox();
			_Label1_5 = new System.Windows.Forms.Label();
			Label6 = new System.Windows.Forms.Label();
			txtBio = new System.Windows.Forms.RichTextBox();
			txtAuthor = new System.Windows.Forms.TextBox();
			Label5 = new System.Windows.Forms.Label();
			Label4 = new System.Windows.Forms.Label();
			cmdCancel = new System.Windows.Forms.Button();
			cmdSave = new System.Windows.Forms.Button();
			txtField0 = new System.Windows.Forms.TextBox();
			txtField1 = new System.Windows.Forms.TextBox();
			txtField2 = new System.Windows.Forms.TextBox();
			txtField3 = new System.Windows.Forms.TextBox();
			cmdDefault = new System.Windows.Forms.Button();
			_Label1_4 = new System.Windows.Forms.Label();
			_Label1_1 = new System.Windows.Forms.Label();
			_Label1_2 = new System.Windows.Forms.Label();
			_Label1_3 = new System.Windows.Forms.Label();
			LblInstr = new System.Windows.Forms.Label();
			lblFinish0 = new System.Windows.Forms.Label();
			lblFinish1 = new System.Windows.Forms.Label();
			lblFinish2 = new System.Windows.Forms.Label();
			lblFinish3 = new System.Windows.Forms.Label();
			lblFinish4 = new System.Windows.Forms.Label();
			_Label1_0 = new System.Windows.Forms.Label();
			Label2 = new System.Windows.Forms.Label();
			TabControl1 = new System.Windows.Forms.TabControl();
			TabPage1 = new System.Windows.Forms.TabPage();
			TabPage2 = new System.Windows.Forms.TabPage();
			TabPage3 = new System.Windows.Forms.TabPage();
			TabPage4 = new System.Windows.Forms.TabPage();
			TabPage5 = new System.Windows.Forms.TabPage();
			pnlPassword = new System.Windows.Forms.Panel();
			chkSetPassword = new System.Windows.Forms.CheckBox();
			lblPasswordCopy = new System.Windows.Forms.Label();
			GroupBoxPW = new System.Windows.Forms.GroupBox();
			Label11 = new System.Windows.Forms.Label();
			Label12 = new System.Windows.Forms.Label();
			Label10 = new System.Windows.Forms.Label();
			Label9 = new System.Windows.Forms.Label();
			Label8 = new System.Windows.Forms.Label();
			txtPasswordCopy = new System.Windows.Forms.TextBox();
			txtPassword = new System.Windows.Forms.TextBox();
			tabLatex = new System.Windows.Forms.TabPage();
			Label7 = new System.Windows.Forms.Label();
			cmbLatexSceneDivider = new System.Windows.Forms.ComboBox();
			Panel1 = new System.Windows.Forms.Panel();
			Label3 = new System.Windows.Forms.Label();
			Label1 = new System.Windows.Forms.Label();
			Button1 = new System.Windows.Forms.Button();
			cmdDefaultLatex = new System.Windows.Forms.Button();
			cmdEditHeader = new System.Windows.Forms.Button();
			txtLatexHeader = new System.Windows.Forms.TextBox();
			chkLatexSuppressTitles = new System.Windows.Forms.CheckBox();
			chkLatexSingleQuotes = new System.Windows.Forms.CheckBox();
			TabPage6 = new System.Windows.Forms.TabPage();
			chkHTMLUnicode = new System.Windows.Forms.CheckBox();
			Label14 = new System.Windows.Forms.Label();
			Label13 = new System.Windows.Forms.Label();
			cmbHTMLEncoding = new System.Windows.Forms.ComboBox();
			cmbHtmlSceneDivider = new System.Windows.Forms.ComboBox();
			TabPageCollab = new System.Windows.Forms.TabPage();
			Button3 = new System.Windows.Forms.Button();
			Button2 = new System.Windows.Forms.Button();
			Label16 = new System.Windows.Forms.Label();
			Label15 = new System.Windows.Forms.Label();
			lblCollabOffset = new System.Windows.Forms.Label();
			lblCollabUsername = new System.Windows.Forms.Label();
			TabControl1.SuspendLayout();
			TabPage1.SuspendLayout();
			TabPage2.SuspendLayout();
			TabPage3.SuspendLayout();
			TabPage4.SuspendLayout();
			TabPage5.SuspendLayout();
			pnlPassword.SuspendLayout();
			GroupBoxPW.SuspendLayout();
			tabLatex.SuspendLayout();
			Panel1.SuspendLayout();
			TabPage6.SuspendLayout();
			TabPageCollab.SuspendLayout();
			SuspendLayout();
			lblDeadlineStart4.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineStart4.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineStart4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineStart4.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineStart4.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineStart4.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineStart4.Location = new System.Drawing.Point(206, 227);
			lblDeadlineStart4.Name = "lblDeadlineStart4";
			lblDeadlineStart4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineStart4.Size = new System.Drawing.Size(116, 23);
			lblDeadlineStart4.TabIndex = 8;
			lblDeadlineStart4.Tag = "5";
			lblDeadlineStart4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineStart4, "Project Deadline");
			lblDeadlineEnd0.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineEnd0.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineEnd0.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineEnd0.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineEnd0.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineEnd0.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineEnd0.Location = new System.Drawing.Point(330, 110);
			lblDeadlineEnd0.Name = "lblDeadlineEnd0";
			lblDeadlineEnd0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineEnd0.Size = new System.Drawing.Size(116, 23);
			lblDeadlineEnd0.TabIndex = 1;
			lblDeadlineEnd0.Tag = "1";
			lblDeadlineEnd0.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineEnd0, "Project Deadline");
			lblDeadlineEnd1.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineEnd1.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineEnd1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineEnd1.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineEnd1.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineEnd1.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineEnd1.Location = new System.Drawing.Point(330, 140);
			lblDeadlineEnd1.Name = "lblDeadlineEnd1";
			lblDeadlineEnd1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineEnd1.Size = new System.Drawing.Size(116, 23);
			lblDeadlineEnd1.TabIndex = 3;
			lblDeadlineEnd1.Tag = "2";
			lblDeadlineEnd1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineEnd1, "Project Deadline");
			lblDeadlineEnd2.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineEnd2.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineEnd2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineEnd2.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineEnd2.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineEnd2.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineEnd2.Location = new System.Drawing.Point(330, 169);
			lblDeadlineEnd2.Name = "lblDeadlineEnd2";
			lblDeadlineEnd2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineEnd2.Size = new System.Drawing.Size(116, 23);
			lblDeadlineEnd2.TabIndex = 5;
			lblDeadlineEnd2.Tag = "3";
			lblDeadlineEnd2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineEnd2, "Project Deadline");
			lblDeadlineEnd3.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineEnd3.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineEnd3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineEnd3.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineEnd3.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineEnd3.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineEnd3.Location = new System.Drawing.Point(330, 197);
			lblDeadlineEnd3.Name = "lblDeadlineEnd3";
			lblDeadlineEnd3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineEnd3.Size = new System.Drawing.Size(116, 23);
			lblDeadlineEnd3.TabIndex = 7;
			lblDeadlineEnd3.Tag = "4";
			lblDeadlineEnd3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineEnd3, "Project Deadline");
			lblDeadlineEnd4.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineEnd4.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineEnd4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineEnd4.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineEnd4.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineEnd4.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineEnd4.Location = new System.Drawing.Point(330, 227);
			lblDeadlineEnd4.Name = "lblDeadlineEnd4";
			lblDeadlineEnd4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineEnd4.Size = new System.Drawing.Size(116, 23);
			lblDeadlineEnd4.TabIndex = 9;
			lblDeadlineEnd4.Tag = "5";
			lblDeadlineEnd4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineEnd4, "Project Deadline");
			lblDeadlineStart0.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineStart0.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineStart0.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineStart0.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineStart0.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineStart0.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineStart0.Location = new System.Drawing.Point(206, 110);
			lblDeadlineStart0.Name = "lblDeadlineStart0";
			lblDeadlineStart0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineStart0.Size = new System.Drawing.Size(116, 23);
			lblDeadlineStart0.TabIndex = 0;
			lblDeadlineStart0.Tag = "1";
			lblDeadlineStart0.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineStart0, "Project Deadline");
			lblDeadlineStart1.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineStart1.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineStart1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineStart1.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineStart1.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineStart1.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineStart1.Location = new System.Drawing.Point(206, 140);
			lblDeadlineStart1.Name = "lblDeadlineStart1";
			lblDeadlineStart1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineStart1.Size = new System.Drawing.Size(116, 23);
			lblDeadlineStart1.TabIndex = 2;
			lblDeadlineStart1.Tag = "2";
			lblDeadlineStart1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineStart1, "Project Deadline");
			lblDeadlineStart2.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineStart2.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineStart2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineStart2.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineStart2.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineStart2.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineStart2.Location = new System.Drawing.Point(206, 169);
			lblDeadlineStart2.Name = "lblDeadlineStart2";
			lblDeadlineStart2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineStart2.Size = new System.Drawing.Size(116, 23);
			lblDeadlineStart2.TabIndex = 4;
			lblDeadlineStart2.Tag = "3";
			lblDeadlineStart2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineStart2, "Project Deadline");
			lblDeadlineStart3.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblDeadlineStart3.BackColor = System.Drawing.SystemColors.Window;
			lblDeadlineStart3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblDeadlineStart3.Cursor = System.Windows.Forms.Cursors.Default;
			lblDeadlineStart3.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblDeadlineStart3.ForeColor = System.Drawing.SystemColors.ControlText;
			lblDeadlineStart3.Location = new System.Drawing.Point(206, 197);
			lblDeadlineStart3.Name = "lblDeadlineStart3";
			lblDeadlineStart3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblDeadlineStart3.Size = new System.Drawing.Size(116, 23);
			lblDeadlineStart3.TabIndex = 6;
			lblDeadlineStart3.Tag = "4";
			lblDeadlineStart3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblDeadlineStart3, "Project Deadline");
			chkOverWrite.AutoSize = true;
			chkOverWrite.Location = new System.Drawing.Point(22, 18);
			chkOverWrite.Name = "chkOverWrite";
			chkOverWrite.Size = new System.Drawing.Size(194, 23);
			chkOverWrite.TabIndex = 0;
			chkOverWrite.Text = "Always overwrite on export";
			ToolTip1.SetToolTip(chkOverWrite, "When ticked, yWriter won't ask if you want to overwrite existing files when you export.");
			chkOverWrite.UseVisualStyleBackColor = true;
			cmdLatex.Location = new System.Drawing.Point(273, 58);
			cmdLatex.Name = "cmdLatex";
			cmdLatex.Size = new System.Drawing.Size(35, 32);
			cmdLatex.TabIndex = 3;
			cmdLatex.Text = "?";
			ToolTip1.SetToolTip(cmdLatex, "LaTeX help");
			cmdLatex.UseVisualStyleBackColor = true;
			cmdSelectImage.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
			cmdSelectImage.BackColor = System.Drawing.SystemColors.Control;
			cmdSelectImage.Cursor = System.Windows.Forms.Cursors.Default;
			cmdSelectImage.Font = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			cmdSelectImage.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdSelectImage.Location = new System.Drawing.Point(521, 22);
			cmdSelectImage.Name = "cmdSelectImage";
			cmdSelectImage.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdSelectImage.Size = new System.Drawing.Size(57, 31);
			cmdSelectImage.TabIndex = 23;
			cmdSelectImage.Text = ". . .";
			ToolTip1.SetToolTip(cmdSelectImage, "I recommend a size no larger than 300-400 pixels wide. Huge images will be slow to load and should be resampled first.");
			cmdSelectImage.UseVisualStyleBackColor = true;
			chkCollab.AutoSize = true;
			chkCollab.Location = new System.Drawing.Point(26, 31);
			chkCollab.Name = "chkCollab";
			chkCollab.Size = new System.Drawing.Size(154, 23);
			chkCollab.TabIndex = 5;
			chkCollab.Text = "Collaborative project";
			ToolTip1.SetToolTip(chkCollab, "When ticked, yWriter will save Diff files to a shared collaboration folder");
			chkCollab.UseVisualStyleBackColor = true;
			txtCollabUser.AcceptsReturn = true;
			txtCollabUser.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtCollabUser.BackColor = System.Drawing.SystemColors.Window;
			txtCollabUser.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtCollabUser.Enabled = false;
			txtCollabUser.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtCollabUser.ForeColor = System.Drawing.SystemColors.WindowText;
			txtCollabUser.Location = new System.Drawing.Point(503, 28);
			txtCollabUser.MaxLength = 10;
			txtCollabUser.Name = "txtCollabUser";
			txtCollabUser.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtCollabUser.Size = new System.Drawing.Size(109, 23);
			txtCollabUser.TabIndex = 31;
			txtCollabUser.Tag = "1";
			ToolTip1.SetToolTip(txtCollabUser, "Specify a username which is different to that of your fellow collaborators. I recommend your initials.");
			txtCollabOffset.AcceptsReturn = true;
			txtCollabOffset.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtCollabOffset.BackColor = System.Drawing.SystemColors.Window;
			txtCollabOffset.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtCollabOffset.Enabled = false;
			txtCollabOffset.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtCollabOffset.ForeColor = System.Drawing.SystemColors.WindowText;
			txtCollabOffset.Location = new System.Drawing.Point(503, 78);
			txtCollabOffset.MaxLength = 5;
			txtCollabOffset.Name = "txtCollabOffset";
			txtCollabOffset.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtCollabOffset.Size = new System.Drawing.Size(109, 23);
			txtCollabOffset.TabIndex = 33;
			txtCollabOffset.Tag = "1";
			txtCollabOffset.Text = "1000";
			ToolTip1.SetToolTip(txtCollabOffset, "Specify a username which is different to that of your fellow collaborators");
			txtCollabFolder.AcceptsReturn = true;
			txtCollabFolder.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtCollabFolder.BackColor = System.Drawing.SystemColors.Window;
			txtCollabFolder.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtCollabFolder.Enabled = false;
			txtCollabFolder.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtCollabFolder.ForeColor = System.Drawing.SystemColors.WindowText;
			txtCollabFolder.Location = new System.Drawing.Point(104, 143);
			txtCollabFolder.MaxLength = 0;
			txtCollabFolder.Name = "txtCollabFolder";
			txtCollabFolder.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtCollabFolder.Size = new System.Drawing.Size(508, 23);
			txtCollabFolder.TabIndex = 35;
			txtCollabFolder.Tag = "1";
			ToolTip1.SetToolTip(txtCollabFolder, "Specify a username which is different to that of your fellow collaborators");
			txtTitle.AcceptsReturn = true;
			txtTitle.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			txtTitle.BackColor = System.Drawing.SystemColors.Window;
			txtTitle.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtTitle.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtTitle.ForeColor = System.Drawing.SystemColors.WindowText;
			txtTitle.Location = new System.Drawing.Point(127, 16);
			txtTitle.MaxLength = 0;
			txtTitle.Name = "txtTitle";
			txtTitle.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtTitle.Size = new System.Drawing.Size(425, 23);
			txtTitle.TabIndex = 0;
			txtDesc.AcceptsTab = true;
			txtDesc.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			txtDesc.BackColor = System.Drawing.SystemColors.Window;
			txtDesc.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtDesc.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtDesc.ForeColor = System.Drawing.SystemColors.WindowText;
			txtDesc.Location = new System.Drawing.Point(127, 53);
			txtDesc.MaxLength = 0;
			txtDesc.Name = "txtDesc";
			txtDesc.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtDesc.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
			txtDesc.Size = new System.Drawing.Size(425, 296);
			txtDesc.TabIndex = 1;
			txtDesc.Text = "";
			_Label1_5.AutoSize = true;
			_Label1_5.BackColor = System.Drawing.Color.Transparent;
			_Label1_5.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_5.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			_Label1_5.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_5.Location = new System.Drawing.Point(82, 19);
			_Label1_5.Name = "_Label1_5";
			_Label1_5.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_5.Size = new System.Drawing.Size(33, 15);
			_Label1_5.TabIndex = 36;
			_Label1_5.Text = "Title:";
			_Label1_5.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label6.AutoSize = true;
			Label6.BackColor = System.Drawing.Color.Transparent;
			Label6.Cursor = System.Windows.Forms.Cursors.Default;
			Label6.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			Label6.ForeColor = System.Drawing.SystemColors.ControlText;
			Label6.Location = new System.Drawing.Point(38, 57);
			Label6.Name = "Label6";
			Label6.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label6.Size = new System.Drawing.Size(70, 15);
			Label6.TabIndex = 35;
			Label6.Text = "Description:";
			Label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
			txtBio.AcceptsTab = true;
			txtBio.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			txtBio.BackColor = System.Drawing.SystemColors.Window;
			txtBio.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtBio.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtBio.ForeColor = System.Drawing.SystemColors.WindowText;
			txtBio.Location = new System.Drawing.Point(127, 53);
			txtBio.MaxLength = 0;
			txtBio.Name = "txtBio";
			txtBio.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtBio.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
			txtBio.Size = new System.Drawing.Size(483, 302);
			txtBio.TabIndex = 1;
			txtBio.Text = "";
			txtAuthor.AcceptsReturn = true;
			txtAuthor.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			txtAuthor.BackColor = System.Drawing.SystemColors.Window;
			txtAuthor.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtAuthor.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			txtAuthor.ForeColor = System.Drawing.SystemColors.WindowText;
			txtAuthor.Location = new System.Drawing.Point(127, 16);
			txtAuthor.MaxLength = 0;
			txtAuthor.Name = "txtAuthor";
			txtAuthor.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtAuthor.Size = new System.Drawing.Size(483, 23);
			txtAuthor.TabIndex = 0;
			Label5.AutoSize = true;
			Label5.BackColor = System.Drawing.Color.Transparent;
			Label5.Cursor = System.Windows.Forms.Cursors.Default;
			Label5.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label5.ForeColor = System.Drawing.SystemColors.ControlText;
			Label5.Location = new System.Drawing.Point(43, 57);
			Label5.Name = "Label5";
			Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label5.Size = new System.Drawing.Size(78, 19);
			Label5.TabIndex = 41;
			Label5.Text = "Author Bio:";
			Label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label4.AutoSize = true;
			Label4.BackColor = System.Drawing.Color.Transparent;
			Label4.Cursor = System.Windows.Forms.Cursors.Default;
			Label4.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label4.ForeColor = System.Drawing.SystemColors.ControlText;
			Label4.Location = new System.Drawing.Point(67, 19);
			Label4.Name = "Label4";
			Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label4.Size = new System.Drawing.Size(55, 19);
			Label4.TabIndex = 40;
			Label4.Text = "Author:";
			Label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			cmdCancel.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
			cmdCancel.BackColor = System.Drawing.SystemColors.Control;
			cmdCancel.Cursor = System.Windows.Forms.Cursors.Default;
			cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			cmdCancel.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			cmdCancel.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdCancel.Location = new System.Drawing.Point(12, 435);
			cmdCancel.Name = "cmdCancel";
			cmdCancel.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdCancel.Size = new System.Drawing.Size(79, 42);
			cmdCancel.TabIndex = 1;
			cmdCancel.Text = "Cancel";
			cmdCancel.UseVisualStyleBackColor = true;
			cmdSave.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
			cmdSave.BackColor = System.Drawing.SystemColors.Control;
			cmdSave.Cursor = System.Windows.Forms.Cursors.Default;
			cmdSave.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			cmdSave.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdSave.Location = new System.Drawing.Point(585, 435);
			cmdSave.Name = "cmdSave";
			cmdSave.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdSave.Size = new System.Drawing.Size(82, 42);
			cmdSave.TabIndex = 0;
			cmdSave.Text = "Save";
			cmdSave.UseVisualStyleBackColor = true;
			txtField0.AcceptsReturn = true;
			txtField0.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtField0.BackColor = System.Drawing.SystemColors.Window;
			txtField0.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtField0.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtField0.ForeColor = System.Drawing.SystemColors.WindowText;
			txtField0.Location = new System.Drawing.Point(157, 32);
			txtField0.MaxLength = 10;
			txtField0.Name = "txtField0";
			txtField0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtField0.Size = new System.Drawing.Size(109, 25);
			txtField0.TabIndex = 0;
			txtField0.Tag = "1";
			txtField0.Text = "Field1";
			txtField1.AcceptsReturn = true;
			txtField1.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtField1.BackColor = System.Drawing.SystemColors.Window;
			txtField1.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtField1.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtField1.ForeColor = System.Drawing.SystemColors.WindowText;
			txtField1.Location = new System.Drawing.Point(157, 69);
			txtField1.MaxLength = 10;
			txtField1.Name = "txtField1";
			txtField1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtField1.Size = new System.Drawing.Size(109, 25);
			txtField1.TabIndex = 2;
			txtField1.Tag = "2";
			txtField1.Text = "Field1";
			txtField2.AcceptsReturn = true;
			txtField2.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtField2.BackColor = System.Drawing.SystemColors.Window;
			txtField2.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtField2.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtField2.ForeColor = System.Drawing.SystemColors.WindowText;
			txtField2.Location = new System.Drawing.Point(378, 29);
			txtField2.MaxLength = 10;
			txtField2.Name = "txtField2";
			txtField2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtField2.Size = new System.Drawing.Size(121, 25);
			txtField2.TabIndex = 1;
			txtField2.Tag = "3";
			txtField2.Text = "Field1";
			txtField3.AcceptsReturn = true;
			txtField3.Anchor = System.Windows.Forms.AnchorStyles.Top;
			txtField3.BackColor = System.Drawing.SystemColors.Window;
			txtField3.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtField3.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtField3.ForeColor = System.Drawing.SystemColors.WindowText;
			txtField3.Location = new System.Drawing.Point(378, 69);
			txtField3.MaxLength = 10;
			txtField3.Name = "txtField3";
			txtField3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtField3.Size = new System.Drawing.Size(121, 25);
			txtField3.TabIndex = 3;
			txtField3.Tag = "4";
			txtField3.Text = "Field1";
			cmdDefault.Anchor = System.Windows.Forms.AnchorStyles.Top;
			cmdDefault.BackColor = System.Drawing.SystemColors.Control;
			cmdDefault.Cursor = System.Windows.Forms.Cursors.Default;
			cmdDefault.Font = new System.Drawing.Font("Segoe UI", 10f);
			cmdDefault.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdDefault.Location = new System.Drawing.Point(243, 121);
			cmdDefault.Name = "cmdDefault";
			cmdDefault.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdDefault.Size = new System.Drawing.Size(130, 34);
			cmdDefault.TabIndex = 4;
			cmdDefault.Text = "Reset to Defaults";
			cmdDefault.UseVisualStyleBackColor = true;
			_Label1_4.Anchor = System.Windows.Forms.AnchorStyles.Top;
			_Label1_4.AutoSize = true;
			_Label1_4.BackColor = System.Drawing.Color.Transparent;
			_Label1_4.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_4.Font = new System.Drawing.Font("Segoe UI", 10f);
			_Label1_4.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_4.Location = new System.Drawing.Point(96, 35);
			_Label1_4.Name = "_Label1_4";
			_Label1_4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_4.Size = new System.Drawing.Size(52, 19);
			_Label1_4.TabIndex = 30;
			_Label1_4.Text = "Field 1:";
			_Label1_4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			_Label1_1.Anchor = System.Windows.Forms.AnchorStyles.Top;
			_Label1_1.AutoSize = true;
			_Label1_1.BackColor = System.Drawing.Color.Transparent;
			_Label1_1.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_1.Font = new System.Drawing.Font("Segoe UI", 10f);
			_Label1_1.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_1.Location = new System.Drawing.Point(96, 73);
			_Label1_1.Name = "_Label1_1";
			_Label1_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_1.Size = new System.Drawing.Size(52, 19);
			_Label1_1.TabIndex = 29;
			_Label1_1.Text = "Field 2:";
			_Label1_1.TextAlign = System.Drawing.ContentAlignment.TopRight;
			_Label1_2.Anchor = System.Windows.Forms.AnchorStyles.Top;
			_Label1_2.AutoSize = true;
			_Label1_2.BackColor = System.Drawing.Color.Transparent;
			_Label1_2.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_2.Font = new System.Drawing.Font("Segoe UI", 10f);
			_Label1_2.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_2.Location = new System.Drawing.Point(317, 33);
			_Label1_2.Name = "_Label1_2";
			_Label1_2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_2.Size = new System.Drawing.Size(52, 19);
			_Label1_2.TabIndex = 28;
			_Label1_2.Text = "Field 3:";
			_Label1_2.TextAlign = System.Drawing.ContentAlignment.TopRight;
			_Label1_3.Anchor = System.Windows.Forms.AnchorStyles.Top;
			_Label1_3.AutoSize = true;
			_Label1_3.BackColor = System.Drawing.Color.Transparent;
			_Label1_3.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_3.Font = new System.Drawing.Font("Segoe UI", 10f);
			_Label1_3.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_3.Location = new System.Drawing.Point(317, 73);
			_Label1_3.Name = "_Label1_3";
			_Label1_3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_3.Size = new System.Drawing.Size(52, 19);
			_Label1_3.TabIndex = 27;
			_Label1_3.Text = "Field 4:";
			_Label1_3.TextAlign = System.Drawing.ContentAlignment.TopRight;
			LblInstr.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			LblInstr.BackColor = System.Drawing.Color.Transparent;
			LblInstr.Cursor = System.Windows.Forms.Cursors.Default;
			LblInstr.Font = new System.Drawing.Font("Segoe UI", 10f);
			LblInstr.ForeColor = System.Drawing.SystemColors.ControlText;
			LblInstr.Location = new System.Drawing.Point(18, 184);
			LblInstr.Name = "LblInstr";
			LblInstr.RightToLeft = System.Windows.Forms.RightToLeft.No;
			LblInstr.Size = new System.Drawing.Size(606, 149);
			LblInstr.TabIndex = 26;
			LblInstr.Text = resources.GetString("LblInstr.Text");
			lblFinish0.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblFinish0.AutoSize = true;
			lblFinish0.BackColor = System.Drawing.Color.Transparent;
			lblFinish0.Cursor = System.Windows.Forms.Cursors.Default;
			lblFinish0.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblFinish0.ForeColor = System.Drawing.SystemColors.ControlText;
			lblFinish0.Location = new System.Drawing.Point(151, 111);
			lblFinish0.Name = "lblFinish0";
			lblFinish0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblFinish0.Size = new System.Drawing.Size(44, 19);
			lblFinish0.TabIndex = 18;
			lblFinish0.Text = "Finish";
			lblFinish0.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblFinish1.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblFinish1.AutoSize = true;
			lblFinish1.BackColor = System.Drawing.Color.Transparent;
			lblFinish1.Cursor = System.Windows.Forms.Cursors.Default;
			lblFinish1.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblFinish1.ForeColor = System.Drawing.SystemColors.ControlText;
			lblFinish1.Location = new System.Drawing.Point(151, 141);
			lblFinish1.Name = "lblFinish1";
			lblFinish1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblFinish1.Size = new System.Drawing.Size(44, 19);
			lblFinish1.TabIndex = 16;
			lblFinish1.Text = "Finish";
			lblFinish1.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblFinish2.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblFinish2.AutoSize = true;
			lblFinish2.BackColor = System.Drawing.Color.Transparent;
			lblFinish2.Cursor = System.Windows.Forms.Cursors.Default;
			lblFinish2.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblFinish2.ForeColor = System.Drawing.SystemColors.ControlText;
			lblFinish2.Location = new System.Drawing.Point(151, 170);
			lblFinish2.Name = "lblFinish2";
			lblFinish2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblFinish2.Size = new System.Drawing.Size(44, 19);
			lblFinish2.TabIndex = 14;
			lblFinish2.Text = "Finish";
			lblFinish2.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblFinish3.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblFinish3.AutoSize = true;
			lblFinish3.BackColor = System.Drawing.Color.Transparent;
			lblFinish3.Cursor = System.Windows.Forms.Cursors.Default;
			lblFinish3.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblFinish3.ForeColor = System.Drawing.SystemColors.ControlText;
			lblFinish3.Location = new System.Drawing.Point(151, 198);
			lblFinish3.Name = "lblFinish3";
			lblFinish3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblFinish3.Size = new System.Drawing.Size(44, 19);
			lblFinish3.TabIndex = 12;
			lblFinish3.Text = "Finish";
			lblFinish3.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblFinish4.Anchor = System.Windows.Forms.AnchorStyles.None;
			lblFinish4.AutoSize = true;
			lblFinish4.BackColor = System.Drawing.Color.Transparent;
			lblFinish4.Cursor = System.Windows.Forms.Cursors.Default;
			lblFinish4.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblFinish4.ForeColor = System.Drawing.SystemColors.ControlText;
			lblFinish4.Location = new System.Drawing.Point(99, 228);
			lblFinish4.Name = "lblFinish4";
			lblFinish4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblFinish4.Size = new System.Drawing.Size(93, 19);
			lblFinish4.TabIndex = 10;
			lblFinish4.Text = "Finish Project:";
			lblFinish4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			_Label1_0.Anchor = System.Windows.Forms.AnchorStyles.None;
			_Label1_0.AutoSize = true;
			_Label1_0.BackColor = System.Drawing.Color.Transparent;
			_Label1_0.Cursor = System.Windows.Forms.Cursors.Default;
			_Label1_0.Font = new System.Drawing.Font("Segoe UI", 10f);
			_Label1_0.ForeColor = System.Drawing.SystemColors.ControlText;
			_Label1_0.Location = new System.Drawing.Point(244, 78);
			_Label1_0.Name = "_Label1_0";
			_Label1_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
			_Label1_0.Size = new System.Drawing.Size(43, 19);
			_Label1_0.TabIndex = 8;
			_Label1_0.Text = "Begin";
			_Label1_0.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			Label2.Anchor = System.Windows.Forms.AnchorStyles.None;
			Label2.AutoSize = true;
			Label2.BackColor = System.Drawing.Color.Transparent;
			Label2.Cursor = System.Windows.Forms.Cursors.Default;
			Label2.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label2.ForeColor = System.Drawing.SystemColors.ControlText;
			Label2.Location = new System.Drawing.Point(373, 78);
			Label2.Name = "Label2";
			Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label2.Size = new System.Drawing.Size(32, 19);
			Label2.TabIndex = 7;
			Label2.Text = "End";
			Label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			TabControl1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			TabControl1.Controls.Add(TabPage1);
			TabControl1.Controls.Add(TabPage2);
			TabControl1.Controls.Add(TabPage3);
			TabControl1.Controls.Add(TabPage4);
			TabControl1.Controls.Add(TabPage5);
			TabControl1.Controls.Add(tabLatex);
			TabControl1.Controls.Add(TabPage6);
			TabControl1.Controls.Add(TabPageCollab);
			TabControl1.Font = new System.Drawing.Font("Segoe UI", 10f);
			TabControl1.Location = new System.Drawing.Point(12, 14);
			TabControl1.Name = "TabControl1";
			TabControl1.SelectedIndex = 0;
			TabControl1.Size = new System.Drawing.Size(655, 415);
			TabControl1.TabIndex = 38;
			TabPage1.Controls.Add(txtTitle);
			TabPage1.Controls.Add(txtDesc);
			TabPage1.Controls.Add(_Label1_5);
			TabPage1.Controls.Add(Label6);
			TabPage1.Location = new System.Drawing.Point(4, 26);
			TabPage1.Name = "TabPage1";
			TabPage1.Padding = new System.Windows.Forms.Padding(3);
			TabPage1.Size = new System.Drawing.Size(647, 385);
			TabPage1.TabIndex = 0;
			TabPage1.Text = "Project";
			TabPage1.UseVisualStyleBackColor = true;
			TabPage2.Controls.Add(txtBio);
			TabPage2.Controls.Add(txtAuthor);
			TabPage2.Controls.Add(Label4);
			TabPage2.Controls.Add(Label5);
			TabPage2.Location = new System.Drawing.Point(4, 26);
			TabPage2.Name = "TabPage2";
			TabPage2.Padding = new System.Windows.Forms.Padding(3);
			TabPage2.Size = new System.Drawing.Size(647, 385);
			TabPage2.TabIndex = 1;
			TabPage2.Text = "Author";
			TabPage2.UseVisualStyleBackColor = true;
			TabPage3.Controls.Add(lblDeadlineStart4);
			TabPage3.Controls.Add(lblDeadlineEnd0);
			TabPage3.Controls.Add(lblFinish0);
			TabPage3.Controls.Add(lblDeadlineStart3);
			TabPage3.Controls.Add(lblDeadlineEnd1);
			TabPage3.Controls.Add(lblDeadlineStart2);
			TabPage3.Controls.Add(lblFinish1);
			TabPage3.Controls.Add(lblDeadlineStart1);
			TabPage3.Controls.Add(lblDeadlineEnd2);
			TabPage3.Controls.Add(Label2);
			TabPage3.Controls.Add(lblFinish2);
			TabPage3.Controls.Add(_Label1_0);
			TabPage3.Controls.Add(lblDeadlineEnd3);
			TabPage3.Controls.Add(lblDeadlineStart0);
			TabPage3.Controls.Add(lblFinish3);
			TabPage3.Controls.Add(lblFinish4);
			TabPage3.Controls.Add(lblDeadlineEnd4);
			TabPage3.Location = new System.Drawing.Point(4, 26);
			TabPage3.Name = "TabPage3";
			TabPage3.Padding = new System.Windows.Forms.Padding(3);
			TabPage3.Size = new System.Drawing.Size(647, 385);
			TabPage3.TabIndex = 2;
			TabPage3.Text = "Deadlines";
			TabPage3.UseVisualStyleBackColor = true;
			TabPage4.Controls.Add(txtField0);
			TabPage4.Controls.Add(txtField1);
			TabPage4.Controls.Add(_Label1_4);
			TabPage4.Controls.Add(txtField2);
			TabPage4.Controls.Add(LblInstr);
			TabPage4.Controls.Add(txtField3);
			TabPage4.Controls.Add(_Label1_3);
			TabPage4.Controls.Add(cmdDefault);
			TabPage4.Controls.Add(_Label1_2);
			TabPage4.Controls.Add(_Label1_1);
			TabPage4.Location = new System.Drawing.Point(4, 26);
			TabPage4.Name = "TabPage4";
			TabPage4.Padding = new System.Windows.Forms.Padding(3);
			TabPage4.Size = new System.Drawing.Size(647, 385);
			TabPage4.TabIndex = 3;
			TabPage4.Text = "Rating Names";
			TabPage4.UseVisualStyleBackColor = true;
			TabPage5.Controls.Add(pnlPassword);
			TabPage5.Controls.Add(chkOverWrite);
			TabPage5.Location = new System.Drawing.Point(4, 26);
			TabPage5.Name = "TabPage5";
			TabPage5.Padding = new System.Windows.Forms.Padding(3);
			TabPage5.Size = new System.Drawing.Size(647, 385);
			TabPage5.TabIndex = 4;
			TabPage5.Text = "Misc Settings";
			TabPage5.UseVisualStyleBackColor = true;
			pnlPassword.Controls.Add(chkSetPassword);
			pnlPassword.Controls.Add(lblPasswordCopy);
			pnlPassword.Controls.Add(GroupBoxPW);
			pnlPassword.Controls.Add(txtPasswordCopy);
			pnlPassword.Controls.Add(txtPassword);
			pnlPassword.Location = new System.Drawing.Point(6, 63);
			pnlPassword.Name = "pnlPassword";
			pnlPassword.Size = new System.Drawing.Size(560, 300);
			pnlPassword.TabIndex = 4;
			pnlPassword.Visible = false;
			chkSetPassword.AutoSize = true;
			chkSetPassword.Location = new System.Drawing.Point(16, 7);
			chkSetPassword.Name = "chkSetPassword";
			chkSetPassword.Size = new System.Drawing.Size(261, 23);
			chkSetPassword.TabIndex = 0;
			chkSetPassword.Text = "Use a password to protect this project";
			chkSetPassword.UseVisualStyleBackColor = true;
			lblPasswordCopy.AutoSize = true;
			lblPasswordCopy.Location = new System.Drawing.Point(80, 45);
			lblPasswordCopy.Name = "lblPasswordCopy";
			lblPasswordCopy.Size = new System.Drawing.Size(203, 19);
			lblPasswordCopy.TabIndex = 3;
			lblPasswordCopy.Text = "Enter the same password again:";
			lblPasswordCopy.TextAlign = System.Drawing.ContentAlignment.TopRight;
			GroupBoxPW.Anchor = System.Windows.Forms.AnchorStyles.Top;
			GroupBoxPW.Controls.Add(Label11);
			GroupBoxPW.Controls.Add(Label12);
			GroupBoxPW.Controls.Add(Label10);
			GroupBoxPW.Controls.Add(Label9);
			GroupBoxPW.Controls.Add(Label8);
			GroupBoxPW.Location = new System.Drawing.Point(13, 88);
			GroupBoxPW.Name = "GroupBoxPW";
			GroupBoxPW.Size = new System.Drawing.Size(534, 209);
			GroupBoxPW.TabIndex = 1;
			GroupBoxPW.TabStop = false;
			GroupBoxPW.Text = "Things you need to know about yWriter's password protection";
			GroupBoxPW.Visible = false;
			Label11.AutoSize = true;
			Label11.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			Label11.Location = new System.Drawing.Point(17, 168);
			Label11.Name = "Label11";
			Label11.Size = new System.Drawing.Size(378, 15);
			Label11.TabIndex = 0;
			Label11.Text = "Spacejock Software does not offer tech support for lost passwords";
			Label12.AutoSize = true;
			Label12.Location = new System.Drawing.Point(17, 112);
			Label12.Name = "Label12";
			Label12.Size = new System.Drawing.Size(342, 19);
			Label12.TabIndex = 0;
			Label12.Text = "yWriter 5.2.0.3 and earlier ignore the password setting";
			Label10.AutoSize = true;
			Label10.Location = new System.Drawing.Point(17, 90);
			Label10.Name = "Label10";
			Label10.Size = new System.Drawing.Size(435, 19);
			Label10.TabIndex = 0;
			Label10.Text = "It's easy to manually edit the yW5 project file && remove the password";
			Label9.AutoSize = true;
			Label9.Location = new System.Drawing.Point(17, 67);
			Label9.Name = "Label9";
			Label9.Size = new System.Drawing.Size(377, 19);
			Label9.TabIndex = 0;
			Label9.Text = "It does not encrypt your data (e.g. RTF files are still readable)";
			Label8.AutoSize = true;
			Label8.Location = new System.Drawing.Point(17, 44);
			Label8.Name = "Label8";
			Label8.Size = new System.Drawing.Size(414, 19);
			Label8.TabIndex = 0;
			Label8.Text = "It's designed to stop casual snooping by kids/family/coworkers/etc";
			txtPasswordCopy.Location = new System.Drawing.Point(304, 42);
			txtPasswordCopy.Name = "txtPasswordCopy";
			txtPasswordCopy.PasswordChar = '*';
			txtPasswordCopy.Size = new System.Drawing.Size(150, 25);
			txtPasswordCopy.TabIndex = 2;
			txtPasswordCopy.Visible = false;
			txtPassword.Location = new System.Drawing.Point(304, 5);
			txtPassword.Name = "txtPassword";
			txtPassword.PasswordChar = '*';
			txtPassword.Size = new System.Drawing.Size(150, 25);
			txtPassword.TabIndex = 2;
			txtPassword.Visible = false;
			tabLatex.Controls.Add(Label7);
			tabLatex.Controls.Add(cmbLatexSceneDivider);
			tabLatex.Controls.Add(Panel1);
			tabLatex.Controls.Add(chkLatexSuppressTitles);
			tabLatex.Controls.Add(chkLatexSingleQuotes);
			tabLatex.Location = new System.Drawing.Point(4, 26);
			tabLatex.Name = "tabLatex";
			tabLatex.Padding = new System.Windows.Forms.Padding(3);
			tabLatex.Size = new System.Drawing.Size(647, 385);
			tabLatex.TabIndex = 5;
			tabLatex.Text = "LaTeX";
			tabLatex.UseVisualStyleBackColor = true;
			Label7.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
			Label7.AutoSize = true;
			Label7.Location = new System.Drawing.Point(22, 260);
			Label7.Name = "Label7";
			Label7.Size = new System.Drawing.Size(130, 19);
			Label7.TabIndex = 26;
			Label7.Text = "Latex Scene Divider:";
			cmbLatexSceneDivider.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
			cmbLatexSceneDivider.FormattingEnabled = true;
			cmbLatexSceneDivider.Items.AddRange(new object[4]
			{
				"Blank line",
				"*",
				"* * *",
				"#"
			});
			cmbLatexSceneDivider.Location = new System.Drawing.Point(181, 256);
			cmbLatexSceneDivider.Name = "cmbLatexSceneDivider";
			cmbLatexSceneDivider.Size = new System.Drawing.Size(121, 25);
			cmbLatexSceneDivider.TabIndex = 25;
			Panel1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			Panel1.Controls.Add(Label3);
			Panel1.Controls.Add(Label1);
			Panel1.Controls.Add(Button1);
			Panel1.Controls.Add(cmdSelectImage);
			Panel1.Controls.Add(cmdDefaultLatex);
			Panel1.Controls.Add(cmdLatex);
			Panel1.Controls.Add(cmdEditHeader);
			Panel1.Controls.Add(txtLatexHeader);
			Panel1.Location = new System.Drawing.Point(26, 29);
			Panel1.Name = "Panel1";
			Panel1.Size = new System.Drawing.Size(592, 143);
			Panel1.TabIndex = 24;
			Label3.AutoSize = true;
			Label3.Location = new System.Drawing.Point(200, 103);
			Label3.Name = "Label3";
			Label3.Size = new System.Drawing.Size(128, 19);
			Label3.TabIndex = 24;
			Label3.Text = "Open project folder";
			Label1.AutoSize = true;
			Label1.Location = new System.Drawing.Point(22, 24);
			Label1.Name = "Label1";
			Label1.Size = new System.Drawing.Size(116, 19);
			Label1.TabIndex = 4;
			Label1.Text = "Latex Header File:";
			Button1.Image = (System.Drawing.Image)resources.GetObject("Button1.Image");
			Button1.Location = new System.Drawing.Point(155, 100);
			Button1.Name = "Button1";
			Button1.Size = new System.Drawing.Size(39, 29);
			Button1.TabIndex = 7;
			Button1.UseVisualStyleBackColor = true;
			cmdDefaultLatex.Location = new System.Drawing.Point(155, 58);
			cmdDefaultLatex.Name = "cmdDefaultLatex";
			cmdDefaultLatex.Size = new System.Drawing.Size(91, 32);
			cmdDefaultLatex.TabIndex = 3;
			cmdDefaultLatex.Text = "Default";
			cmdDefaultLatex.UseVisualStyleBackColor = true;
			cmdEditHeader.Location = new System.Drawing.Point(340, 58);
			cmdEditHeader.Name = "cmdEditHeader";
			cmdEditHeader.Size = new System.Drawing.Size(91, 32);
			cmdEditHeader.TabIndex = 3;
			cmdEditHeader.Text = "Edit";
			cmdEditHeader.UseVisualStyleBackColor = true;
			txtLatexHeader.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);
			txtLatexHeader.Location = new System.Drawing.Point(155, 20);
			txtLatexHeader.Name = "txtLatexHeader";
			txtLatexHeader.Size = new System.Drawing.Size(351, 25);
			txtLatexHeader.TabIndex = 5;
			chkLatexSuppressTitles.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
			chkLatexSuppressTitles.AutoSize = true;
			chkLatexSuppressTitles.Location = new System.Drawing.Point(26, 223);
			chkLatexSuppressTitles.Name = "chkLatexSuppressTitles";
			chkLatexSuppressTitles.Size = new System.Drawing.Size(183, 23);
			chkLatexSuppressTitles.TabIndex = 6;
			chkLatexSuppressTitles.Text = "Suppress all chapter titles";
			chkLatexSuppressTitles.UseVisualStyleBackColor = true;
			chkLatexSingleQuotes.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
			chkLatexSingleQuotes.AutoSize = true;
			chkLatexSingleQuotes.Location = new System.Drawing.Point(26, 189);
			chkLatexSingleQuotes.Name = "chkLatexSingleQuotes";
			chkLatexSingleQuotes.Size = new System.Drawing.Size(341, 23);
			chkLatexSingleQuotes.TabIndex = 6;
			chkLatexSingleQuotes.Text = "Convert Double Quotes (\") to single in exported file";
			chkLatexSingleQuotes.UseVisualStyleBackColor = true;
			TabPage6.Controls.Add(chkHTMLUnicode);
			TabPage6.Controls.Add(Label14);
			TabPage6.Controls.Add(Label13);
			TabPage6.Controls.Add(cmbHTMLEncoding);
			TabPage6.Controls.Add(cmbHtmlSceneDivider);
			TabPage6.Location = new System.Drawing.Point(4, 26);
			TabPage6.Name = "TabPage6";
			TabPage6.Padding = new System.Windows.Forms.Padding(3);
			TabPage6.Size = new System.Drawing.Size(647, 385);
			TabPage6.TabIndex = 6;
			TabPage6.Text = "HTML";
			TabPage6.UseVisualStyleBackColor = true;
			chkHTMLUnicode.AutoSize = true;
			chkHTMLUnicode.Location = new System.Drawing.Point(342, 83);
			chkHTMLUnicode.Name = "chkHTMLUnicode";
			chkHTMLUnicode.Size = new System.Drawing.Size(78, 23);
			chkHTMLUnicode.TabIndex = 29;
			chkHTMLUnicode.Text = "Unicode";
			chkHTMLUnicode.UseVisualStyleBackColor = true;
			Label14.AutoSize = true;
			Label14.Location = new System.Drawing.Point(50, 84);
			Label14.Name = "Label14";
			Label14.Size = new System.Drawing.Size(102, 19);
			Label14.TabIndex = 28;
			Label14.Text = "Html Encoding:";
			Label13.AutoSize = true;
			Label13.Location = new System.Drawing.Point(21, 34);
			Label13.Name = "Label13";
			Label13.Size = new System.Drawing.Size(128, 19);
			Label13.TabIndex = 28;
			Label13.Text = "Html Scene Divider:";
			cmbHTMLEncoding.FormattingEnabled = true;
			cmbHTMLEncoding.Items.AddRange(new object[2]
			{
				"utf8",
				"iso-8859-1"
			});
			cmbHTMLEncoding.Location = new System.Drawing.Point(180, 80);
			cmbHTMLEncoding.Name = "cmbHTMLEncoding";
			cmbHTMLEncoding.Size = new System.Drawing.Size(121, 25);
			cmbHTMLEncoding.TabIndex = 27;
			cmbHtmlSceneDivider.FormattingEnabled = true;
			cmbHtmlSceneDivider.Items.AddRange(new object[6]
			{
				"&nbsp;",
				"*",
				"* * *",
				"#",
				"-=#=-",
				"&bull;"
			});
			cmbHtmlSceneDivider.Location = new System.Drawing.Point(180, 31);
			cmbHtmlSceneDivider.Name = "cmbHtmlSceneDivider";
			cmbHtmlSceneDivider.Size = new System.Drawing.Size(121, 25);
			cmbHtmlSceneDivider.TabIndex = 27;
			TabPageCollab.Controls.Add(Button3);
			TabPageCollab.Controls.Add(Button2);
			TabPageCollab.Controls.Add(Label16);
			TabPageCollab.Controls.Add(txtCollabFolder);
			TabPageCollab.Controls.Add(Label15);
			TabPageCollab.Controls.Add(txtCollabOffset);
			TabPageCollab.Controls.Add(lblCollabOffset);
			TabPageCollab.Controls.Add(txtCollabUser);
			TabPageCollab.Controls.Add(lblCollabUsername);
			TabPageCollab.Controls.Add(chkCollab);
			TabPageCollab.Location = new System.Drawing.Point(4, 26);
			TabPageCollab.Name = "TabPageCollab";
			TabPageCollab.Padding = new System.Windows.Forms.Padding(3);
			TabPageCollab.Size = new System.Drawing.Size(647, 385);
			TabPageCollab.TabIndex = 7;
			TabPageCollab.Text = "Collaboration";
			TabPageCollab.UseVisualStyleBackColor = true;
			Button3.Location = new System.Drawing.Point(241, 74);
			Button3.Name = "Button3";
			Button3.Size = new System.Drawing.Size(115, 40);
			Button3.TabIndex = 38;
			Button3.Text = "Server Setup";
			Button3.UseVisualStyleBackColor = true;
			Button2.Location = new System.Drawing.Point(104, 74);
			Button2.Name = "Button2";
			Button2.Size = new System.Drawing.Size(109, 40);
			Button2.TabIndex = 38;
			Button2.Text = "Client Setup";
			Button2.UseVisualStyleBackColor = true;
			Label16.Location = new System.Drawing.Point(100, 227);
			Label16.Name = "Label16";
			Label16.Size = new System.Drawing.Size(462, 68);
			Label16.TabIndex = 37;
			Label16.Text = "Do NOT change your username once you've started collaborating. Do NOT use anything but A-Z, 0-9 in the username.";
			Label15.Anchor = System.Windows.Forms.AnchorStyles.Top;
			Label15.AutoSize = true;
			Label15.BackColor = System.Drawing.Color.Transparent;
			Label15.Cursor = System.Windows.Forms.Cursors.Default;
			Label15.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			Label15.ForeColor = System.Drawing.SystemColors.ControlText;
			Label15.Location = new System.Drawing.Point(20, 146);
			Label15.Name = "Label15";
			Label15.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label15.Size = new System.Drawing.Size(43, 15);
			Label15.TabIndex = 36;
			Label15.Text = "Folder:";
			Label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblCollabOffset.Anchor = System.Windows.Forms.AnchorStyles.Top;
			lblCollabOffset.AutoSize = true;
			lblCollabOffset.BackColor = System.Drawing.Color.Transparent;
			lblCollabOffset.Cursor = System.Windows.Forms.Cursors.Default;
			lblCollabOffset.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			lblCollabOffset.ForeColor = System.Drawing.SystemColors.ControlText;
			lblCollabOffset.Location = new System.Drawing.Point(419, 82);
			lblCollabOffset.Name = "lblCollabOffset";
			lblCollabOffset.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblCollabOffset.Size = new System.Drawing.Size(56, 15);
			lblCollabOffset.TabIndex = 34;
			lblCollabOffset.Text = "ID Offset:";
			lblCollabOffset.TextAlign = System.Drawing.ContentAlignment.TopRight;
			lblCollabUsername.Anchor = System.Windows.Forms.AnchorStyles.Top;
			lblCollabUsername.AutoSize = true;
			lblCollabUsername.BackColor = System.Drawing.Color.Transparent;
			lblCollabUsername.Cursor = System.Windows.Forms.Cursors.Default;
			lblCollabUsername.Font = new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			lblCollabUsername.ForeColor = System.Drawing.SystemColors.ControlText;
			lblCollabUsername.Location = new System.Drawing.Point(401, 32);
			lblCollabUsername.Name = "lblCollabUsername";
			lblCollabUsername.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblCollabUsername.Size = new System.Drawing.Size(71, 15);
			lblCollabUsername.TabIndex = 32;
			lblCollabUsername.Text = "Your initials:";
			lblCollabUsername.TextAlign = System.Drawing.ContentAlignment.TopRight;
			base.AcceptButton = cmdSave;
			base.AutoScaleDimensions = new System.Drawing.SizeF(7f, 17f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			BackColor = System.Drawing.SystemColors.Control;
			base.CancelButton = cmdCancel;
			base.ClientSize = new System.Drawing.Size(679, 491);
			base.Controls.Add(TabControl1);
			base.Controls.Add(cmdCancel);
			base.Controls.Add(cmdSave);
			Cursor = System.Windows.Forms.Cursors.Default;
			Font = new System.Drawing.Font("Segoe UI", 10f);
			base.Location = new System.Drawing.Point(3, 19);
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			MinimumSize = new System.Drawing.Size(622, 529);
			base.Name = "frmProjectSettings";
			RightToLeft = System.Windows.Forms.RightToLeft.No;
			base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			Text = "Project Settings";
			TabControl1.ResumeLayout(false);
			TabPage1.ResumeLayout(false);
			TabPage1.PerformLayout();
			TabPage2.ResumeLayout(false);
			TabPage2.PerformLayout();
			TabPage3.ResumeLayout(false);
			TabPage3.PerformLayout();
			TabPage4.ResumeLayout(false);
			TabPage4.PerformLayout();
			TabPage5.ResumeLayout(false);
			TabPage5.PerformLayout();
			pnlPassword.ResumeLayout(false);
			pnlPassword.PerformLayout();
			GroupBoxPW.ResumeLayout(false);
			GroupBoxPW.PerformLayout();
			tabLatex.ResumeLayout(false);
			tabLatex.PerformLayout();
			Panel1.ResumeLayout(false);
			Panel1.PerformLayout();
			TabPage6.ResumeLayout(false);
			TabPage6.PerformLayout();
			TabPageCollab.ResumeLayout(false);
			TabPageCollab.PerformLayout();
			ResumeLayout(false);
		}

		public frmProjectSettings(ref clsProject ProjectClass)
		{
			base.FormClosing += frmProjectSettings_FormClosing;
			base.Load += frmEditProject_Load;
			InitializeComponent();
			cProject = ProjectClass;
			try
			{
				lblFinish = new Label[5]
				{
					lblFinish0,
					lblFinish1,
					lblFinish2,
					lblFinish3,
					lblFinish4
				};
				lblDeadlineEnd = new Label[5]
				{
					lblDeadlineEnd0,
					lblDeadlineEnd1,
					lblDeadlineEnd2,
					lblDeadlineEnd3,
					lblDeadlineEnd4
				};
				lblDeadlineStart = new Label[5]
				{
					lblDeadlineStart0,
					lblDeadlineStart1,
					lblDeadlineStart2,
					lblDeadlineStart3,
					lblDeadlineStart4
				};
				txtField = new TextBox[4]
				{
					txtField0,
					txtField1,
					txtField2,
					txtField3
				};
			}
			catch (Exception ex)
			{
				ProjectData.SetProjectError(ex);
				Exception ex2 = ex;
				clsShared.cLog.AddAction(ex2, MethodBase.GetCurrentMethod());
				ProjectData.ClearProjectError();
			}
		}

		private void cmdCancel_Click(object eventSender, EventArgs eventArgs)
		{
			base.DialogResult = DialogResult.Cancel;
			Hide();
		}

		private void cmdSave_Click(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_0329, IL_033c, IL_0353, IL_035e, IL_036e, IL_0438, IL_043a, IL_044e, IL_0470
			int num = default(int);
			int num4 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				string text = "Checking for invalid dates";
				num2 = 3;
				if (!BadValues())
				{
					goto IL_0031;
				}
				num2 = 4;
				if (clsShared.cLang.TransMsgBox("You have invalid dates in your settings. Do you want to edit them?", MsgBoxStyle.YesNo) != MsgBoxResult.Yes)
				{
					goto IL_0031;
				}
				goto end_IL_0000;
				IL_0031:
				num2 = 6;
				if (!PasswordSettingsOkay())
				{
					num2 = 7;
					clsShared.cLang.TransMsgBox("Your password is blank or the second entry doesn't match the first");
				}
				else
				{
					num2 = 9;
					text = "Storing deadline dates";
					num2 = 10;
					int num3 = lblDeadlineEnd.Length - 1;
					int i;
					for (i = 0; i <= num3; i++)
					{
						num2 = 11;
						cProject.set_DeadlineDate(i + 1, DateAndTime.DateValue(lblDeadlineEnd[i].Text));
						num2 = 12;
						cProject.set_DeadlineStartDate(i + 1, DateAndTime.DateValue(lblDeadlineStart[i].Text));
						num2 = 13;
					}
					num2 = 14;
					text = "Storing field titles";
					num2 = 15;
					i = 0;
					do
					{
						num2 = 16;
						cProject.set_FieldTitle(i + 1, txtField[i].Text);
						num2 = 17;
						i++;
					}
					while (i <= 3);
					num2 = 18;
					text = "Storing bio & author name";
					num2 = 19;
					cProject.AuthorBio = txtBio.Text;
					num2 = 20;
					cProject.AuthorName = txtAuthor.Text;
					num2 = 21;
					text = "Storing title & description";
					num2 = 22;
					cProject.Title = txtTitle.Text;
					num2 = 23;
					cProject.DescText = txtDesc.Text;
					num2 = 24;
					clsShared.cSettings.sSet("OverwriteExport", chkOverWrite.Checked);
					num2 = 25;
					clsShared.cSettings.sSet("CollabUser", txtCollabUser.Text);
					num2 = 26;
					clsShared.cSettings.sSet("CollabOffset", txtCollabOffset.Text);
					num2 = 27;
					cProject.Collab = chkCollab.Checked;
					num2 = 28;
					cProject.CollabFolder = txtCollabFolder.Text;
					num2 = 29;
					cProject.LatexHeaderFile = txtLatexHeader.Text.Trim();
					num2 = 30;
					cProject.LatexSingleQuotes = chkLatexSingleQuotes.Checked;
					num2 = 31;
					cProject.LatexSuppressChapterTitles = chkLatexSuppressTitles.Checked;
					num2 = 32;
					cProject.LatexSceneDividerStyle = cmbLatexSceneDivider.SelectedIndex;
					num2 = 33;
					cProject.HtmlSceneDivider = cmbHtmlSceneDivider.Text;
					num2 = 34;
					cProject.HtmlEncoding = cmbHTMLEncoding.Text;
					num2 = 35;
					cProject.HtmlUnicode = chkHTMLUnicode.Checked;
					num2 = 36;
					cProject.UsePassword = chkSetPassword.Checked;
					num2 = 37;
					if (cProject.UsePassword)
					{
						num2 = 38;
						cProject.Password = txtPassword.Text;
					}
					else
					{
						num2 = 40;
						cProject.Password = "";
					}
					num2 = 41;
					base.DialogResult = DialogResult.OK;
					num2 = 42;
					Hide();
				}
				end_IL_0000:;
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num4 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_046e: Could not find block for branch target IL_043a*/;
			}
			if (num4 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private bool PasswordSettingsOkay()
		{
			bool result = true;
			if (chkSetPassword.Checked)
			{
				if (txtPassword.Text.Length == 0)
				{
					result = false;
				}
				else if (Operators.CompareString(txtPassword.Text, txtPasswordCopy.Text, TextCompare: false) != 0)
				{
					result = false;
				}
			}
			return result;
		}

		private void frmProjectSettings_FormClosing(object sender, FormClosingEventArgs e)
		{
			clsSettings cSettings = clsShared.cSettings;
			Form Form = this;
			cSettings.ReadWindowSettings("Project", ref Form);
		}

		private void frmEditProject_Load(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_052b, IL_0542, IL_054d, IL_055d, IL_0657, IL_0659, IL_066d, IL_068f
			int num = default(int);
			int num4 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				base.Icon = Resources.yWriter5_Ico;
				num2 = 3;
				clsSettings cSettings = clsShared.cSettings;
				Form Form = this;
				cSettings.ReadWindowSettings("Project", ref Form);
				num2 = 4;
				if (DateTime.Compare(cProject.get_DeadlineStartDate(5), cProject.get_DeadlineDate(5)) > 0)
				{
					num2 = 5;
					cProject.set_DeadlineStartDate(5, DateTime.FromOADate(cProject.get_DeadlineDate(5).ToOADate() - 1.0));
				}
				num2 = 6;
				if (!modVariables.EnableCollab)
				{
					num2 = 7;
					TabControl1.TabPages.Remove(TabPageCollab);
				}
				num2 = 8;
				int num3 = lblDeadlineEnd.Length - 1;
				int i;
				for (i = 0; i <= num3; i++)
				{
					num2 = 9;
					if (DateTime.Compare(cProject.get_DeadlineStartDate(i + 1), DateTime.FromOADate(0.0)) == 0)
					{
						num2 = 10;
						cProject.set_DeadlineStartDate(i + 1, DateAndTime.Now.Date.AddDays(i * 30));
					}
					num2 = 11;
					if (DateTime.Compare(cProject.get_DeadlineDate(i + 1), DateTime.FromOADate(0.0)) == 0)
					{
						num2 = 12;
						cProject.set_DeadlineDate(i + 1, DateAndTime.Now.Date.AddDays((i + 1) * 30 - 1));
					}
					num2 = 13;
					if (i < lblDeadlineEnd.Length - 1)
					{
						num2 = 14;
						lblFinish[i].Text = clsShared.cLang.GetTranslation(modVariables.StatusNames[i + 1], ":");
					}
					num2 = 15;
					lblDeadlineEnd[i].Text = Conversions.ToString(cProject.get_DeadlineDate(i + 1).Date);
					num2 = 16;
					lblDeadlineStart[i].Text = Conversions.ToString(cProject.get_DeadlineStartDate(i + 1).Date);
					num2 = 17;
				}
				num2 = 18;
				if (!modVariables.Registered)
				{
					num2 = 19;
					pnlPassword.Visible = false;
				}
				else
				{
					num2 = 21;
					pnlPassword.Visible = true;
				}
				num2 = 22;
				i = 0;
				do
				{
					num2 = 23;
					txtField[i].Text = cProject.get_FieldTitle(i + 1);
					num2 = 24;
					i++;
				}
				while (i <= 3);
				num2 = 25;
				txtBio.Text = cProject.AuthorBio;
				num2 = 26;
				txtAuthor.Text = cProject.AuthorName;
				num2 = 27;
				txtTitle.Text = cProject.Title;
				num2 = 28;
				txtDesc.Text = cProject.DescText;
				num2 = 29;
				chkCollab.Checked = cProject.Collab;
				num2 = 30;
				txtCollabFolder.Text = cProject.CollabFolder;
				num2 = 31;
				BadValues();
				num2 = 32;
				if (cProject.UsePassword)
				{
					num2 = 33;
					chkSetPassword.Checked = true;
					num2 = 34;
					txtPassword.Text = cProject.Password;
					num2 = 35;
					txtPasswordCopy.Text = cProject.Password;
				}
				else
				{
					num2 = 37;
					chkSetPassword.Checked = false;
				}
				num2 = 38;
				if (Operators.CompareString(clsShared.cLang.CurrentLanguage, "English", TextCompare: false) != 0)
				{
					num2 = 39;
					Text = clsShared.cLang.GetTranslation(Text);
					num2 = 40;
					clsShared.cLang.TranslateForm(this);
				}
				num2 = 41;
				chkOverWrite.Checked = clsShared.cSettings.sGet("OverwriteExport", DefaultIfUnknown: false);
				num2 = 42;
				txtLatexHeader.Text = cProject.LatexHeaderFile;
				num2 = 43;
				chkLatexSingleQuotes.Checked = cProject.LatexSingleQuotes;
				num2 = 44;
				chkLatexSuppressTitles.Checked = cProject.LatexSuppressChapterTitles;
				num2 = 45;
				txtCollabUser.Text = clsShared.cSettings.sGet("CollabUser", "");
				num2 = 46;
				txtCollabOffset.Text = clsShared.cSettings.sGet("CollabOffset", "");
				num2 = 47;
				cmbLatexSceneDivider.SelectedIndex = cProject.LatexSceneDividerStyle;
				num2 = 48;
				cmbHtmlSceneDivider.Text = cProject.HtmlSceneDivider;
				num2 = 49;
				if (Operators.CompareString(cProject.HtmlEncoding, "", TextCompare: false) == 0)
				{
					num2 = 50;
					cmbHTMLEncoding.Text = "utf8";
					num2 = 51;
					chkHTMLUnicode.Checked = true;
				}
				else
				{
					num2 = 53;
					cmbHTMLEncoding.Text = cProject.HtmlEncoding;
					num2 = 54;
					chkHTMLUnicode.Checked = cProject.HtmlUnicode;
				}
				num2 = 55;
				clsShared.cFormFont.SetFormFont(this, clsShared.cSettings.sGet("FormFont", modVariables.DefaultUIFont.Name), clsShared.cSettings.sGet("UIFontSize", modVariables.DefaultUIFont.Size));
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num4 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_068d: Could not find block for branch target IL_0659*/;
			}
			if (num4 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void lblDeadline_Click(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_0109, IL_0120, IL_012b, IL_013b, IL_018d, IL_018f, IL_01a3, IL_01c5
			int num = default(int);
			int num4 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				Label label = (Label)eventSender;
				num2 = 3;
				int num3 = Conversions.ToInteger(label.Tag);
				num2 = 4;
				if (!Information.IsDate(label.Text))
				{
					num2 = 5;
					label.Text = Conversions.ToString(DateAndTime.Now.Date);
				}
				num2 = 6;
				DateTime date;
				if (num3 == 5)
				{
					num2 = 7;
					date = clsShared.cGetDate.GetDate(clsShared.cLang.GetTranslation("Project completion date"), DateAndTime.DateValue(label.Text));
				}
				else
				{
					num2 = 9;
					date = clsShared.cGetDate.GetDate(clsShared.cLang.GetTranslation(modVariables.StatusNames[num3]) + " " + clsShared.cLang.GetTranslation("deadline date"), DateAndTime.DateValue(label.Text));
				}
				num2 = 10;
				if ((long)Math.Round(date.ToOADate()) != 0L)
				{
					num2 = 11;
					label.Text = Conversions.ToString(date.Date);
					num2 = 12;
					cProject.set_DeadlineDate(num3, date.Date);
				}
				num2 = 13;
				BadValues();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num4 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_01c3: Could not find block for branch target IL_018f*/;
			}
			if (num4 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void lblDeadlineStart_Click(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_00de, IL_00f5, IL_0100, IL_0110, IL_0156, IL_0158, IL_016c, IL_018e
			int num = default(int);
			int num4 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				Label label = (Label)eventSender;
				num2 = 3;
				int num3 = Conversions.ToInteger(label.Tag);
				num2 = 4;
				if (!Information.IsDate(label.Text))
				{
					num2 = 5;
					label.Text = Conversions.ToString(DateAndTime.Now.Date);
				}
				num2 = 6;
				DateTime date = clsShared.cGetDate.GetDate(clsShared.cLang.GetTranslation(modVariables.StatusNames[num3]) + " " + clsShared.cLang.GetTranslation("start date"), DateAndTime.DateValue(label.Text));
				num2 = 7;
				if ((long)Math.Round(date.Date.ToOADate()) != 0L)
				{
					num2 = 8;
					label.Text = Conversions.ToString(date.Date);
					num2 = 9;
					cProject.set_DeadlineStartDate(num3, date.Date);
				}
				num2 = 10;
				BadValues();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num4 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_018c: Could not find block for branch target IL_0158*/;
			}
			if (num4 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void cmdDefault_Click(object eventSender, EventArgs eventArgs)
		{
			int num = txtField.Length - 1;
			for (int i = 0; i <= num; i++)
			{
				txtField[i].Text = yW5Lib.modConst.FieldDefault(i + 1);
			}
		}

		private bool BadValues()
		{
			//Discarded unreachable code: IL_011c, IL_0133, IL_013e, IL_014e, IL_01ac, IL_01ae, IL_01c2, IL_01e4
			int num = default(int);
			bool result = default(bool);
			int num5 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				FixDates();
				num2 = 3;
				int num3 = lblDeadlineEnd.Length - 1;
				for (int i = 0; i <= num3; i++)
				{
					num2 = 4;
					if (DateTime.Compare(DateAndTime.DateValue(lblDeadlineEnd[i].Text), DateAndTime.DateValue(lblDeadlineStart[i].Text)) < 0)
					{
						num2 = 5;
						lblDeadlineEnd[i].ForeColor = cColours.DarkRedInk;
						num2 = 6;
						result = true;
					}
					else
					{
						num2 = 8;
						lblDeadlineEnd[i].ForeColor = SystemColors.WindowText;
					}
					num2 = 9;
				}
				num2 = 10;
				int num4 = lblDeadlineStart.Length - 1;
				for (int i = 1; i <= num4; i++)
				{
					num2 = 11;
					if (DateTime.Compare(DateAndTime.DateValue(lblDeadlineStart[i].Text), DateAndTime.DateValue(lblDeadlineEnd[i - 1].Text)) < 0)
					{
						num2 = 12;
						lblDeadlineStart[i].ForeColor = cColours.DarkRedInk;
						num2 = 13;
						result = true;
					}
					else
					{
						num2 = 15;
						lblDeadlineStart[i].ForeColor = SystemColors.WindowText;
					}
					num2 = 16;
				}
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num5 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_01e2: Could not find block for branch target IL_01ae*/;
			}
			if (num5 != 0)
			{
				ProjectData.ClearProjectError();
			}
			return result;
		}

		private void FixDates()
		{
			//Discarded unreachable code: IL_0096, IL_00ad, IL_00b8, IL_00c5, IL_00ff, IL_0101, IL_0115, IL_0137
			int num = default(int);
			int num4 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				int num3 = lblDeadlineEnd.Length - 1;
				for (int i = 1; i <= num3; i++)
				{
					num2 = 3;
					if (!Information.IsDate(lblDeadlineEnd[i].Text))
					{
						num2 = 4;
						lblDeadlineEnd[i].Text = Conversions.ToString(DateAndTime.Now.Date);
					}
					num2 = 5;
					if (!Information.IsDate(lblDeadlineStart[i].Text))
					{
						num2 = 6;
						lblDeadlineStart[i].Text = Conversions.ToString(DateAndTime.Now.Date);
					}
					num2 = 7;
				}
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num4 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_0135: Could not find block for branch target IL_0101*/;
			}
			if (num4 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void _Frame_2_Enter(object sender, EventArgs e)
		{
		}

		private void Label6_Click(object sender, EventArgs e)
		{
		}

		private void cmdLoadLayout_Click(object sender, EventArgs e)
		{
			clsShared.cFile.RunFile(Path.Combine(cProject.ProjectPath(), txtLatexHeader.Text));
		}

		private void cmdSaveLayout_Click(object sender, EventArgs e)
		{
			string outputFilename = clsShared.cFileSel.GetOutputFilename("Specify a layout file", cProject.ProjectPath(), "Layout.txt", "*.txt");
			if (Operators.CompareString(outputFilename, "", TextCompare: false) != 0)
			{
				clsShared.cFile.WriteUnicodeForced(outputFilename, txtLatexHeader.Text);
			}
		}

		private void Button2_Click(object sender, EventArgs e)
		{
			clsShared.cFile.WriteUnicodeForced(Path.Combine(cProject.ProjectPath(), "LaTeXDefaultHeader.txt"), Resources.LatexHeader);
			txtLatexHeader.Text = "LaTeXDefaultHeader.txt";
		}

		private void cmdLatex_Click(object sender, EventArgs e)
		{
			clsShared.cWWW.WebSiteVisit("https://sites.google.com/site/ywritersj/faq/exporting");
		}

		private void cmdSelectImage_Click(object sender, EventArgs e)
		{
			try
			{
				string text = clsShared.cFileSel.AskForFilename("Select a LaTeX header file", cProject.ProjectPath(), "*.txt");
				if (Operators.CompareString(text, "", TextCompare: false) != 0)
				{
					txtLatexHeader.Text = text;
				}
			}
			catch (Exception ex)
			{
				ProjectData.SetProjectError(ex);
				Exception ex2 = ex;
				clsShared.cLog.AddAction(ex2, MethodBase.GetCurrentMethod());
				ProjectData.ClearProjectError();
			}
		}

		private void Button1_Click(object sender, EventArgs e)
		{
			clsShared.cFile.RunFile(cProject.ProjectPath());
		}

		private void chkSetPassword_CheckedChanged(object sender, EventArgs e)
		{
			if (chkSetPassword.Checked)
			{
				txtPassword.Visible = true;
				txtPasswordCopy.Visible = true;
				GroupBoxPW.Visible = true;
			}
			else
			{
				txtPassword.Visible = false;
				txtPasswordCopy.Visible = false;
				GroupBoxPW.Visible = false;
			}
		}

		private void cmbSceneDivider_SelectedIndexChanged(object sender, EventArgs e)
		{
		}

		private void chkOverWrite_CheckedChanged(object sender, EventArgs e)
		{
		}

		private void chkCollab_CheckedChanged(object sender, EventArgs e)
		{
			if (chkCollab.Checked)
			{
				txtCollabUser.Enabled = true;
				txtCollabOffset.Enabled = true;
				txtCollabFolder.Enabled = true;
			}
			else
			{
				txtCollabUser.Enabled = false;
				txtCollabOffset.Enabled = false;
				txtCollabFolder.Enabled = false;
			}
		}

		private void txtCollabUser_TextChanged(object sender, EventArgs e)
		{
		}

		private void Button2_Click_1(object sender, EventArgs e)
		{
			new frmClientSettings().ShowDialog();
			clsShared.cSettings.SaveSettings(modConstants.SETTINGS_FILE);
		}

		private void Button3_Click(object sender, EventArgs e)
		{
			new frmServerSettings().ShowDialog();
			clsShared.cSettings.SaveSettings(modConstants.SETTINGS_FILE);
		}
	}
}
